const url = require("url");
let strUrl = "http://localhost:3333/api/v1/users?id=8&b=9";
const urlData = url.parse(strUrl , true);
console.log(urlData); 